home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / WORDMISC / WRITTOOL.LZH / FREQ.DOC < prev    next >
Text File  |  1986-12-18  |  770b  |  25 lines

  1. -------------------------------------------------------------------------------
  2.  FREQ
  3. -------------------------------------------------------------------------------
  4. Summary:
  5.  
  6.      freq [< filename] 
  7.  
  8.  
  9. FREQ is a text filter that takes a sorted list of words from the standard 
  10. input and outputs a list of the unique words in the input and the frequency of 
  11. their occurrence.
  12.  
  13. Examples:
  14.  
  15. Make a list of the unique words in the file named original and print that list 
  16. on the printer.
  17.  
  18.      freq <original >prn 
  19.  
  20. Place all of the words in the file named textfile on individual lines, sort
  21. those lines, make a list of how many times the words occurred, and save that 
  22. list as the file named wordlist.
  23.  
  24.      words < textfile | sort | freq > wordlist
  25.